.keyWrapper {
  z-index: 1000;
  width: 100%;
  background-color: #d4d7de;
  transform: translate(0, 100%);
  transition: transform 0.3s ease-in;
}

.keyShow {
  transform: translate(0, 0);
}

.title {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #c5c9d0;
}

.content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 10px 20px;
}

/* 数字键盘特殊样式 */
.content.number-only {
  padding: 10px;
  justify-content: center;
  gap: 5px;
}

.key {
  width: 9vw;
  height: 85px;
  line-height: 85px;
  margin: 20px 0 0;
  border-radius: 10px;
  background-color: #fff;
  text-align: center;
  font-weight: 500;
  padding: 0;
  font-size: 32px;
  box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
}

/* 数字键样式优化 */
.key.number-key {
  width: 28%;
  max-width: 80px;
  margin: 5px;
  height: 70px;
  line-height: 70px;
}

.key:active {
  background-color: rgba(195, 195, 195, 1);
}

.bigKey {
  width: 14.5vw;
  background-color: #b1b8c8;
}

/* 数字键盘的删除键样式 */
.content.number-only .bigKey {
  width: 28%;
  max-width: 80px;
}

.top {
  margin-top: 0px;
  height: 70px;
  line-height: 70px;
}

.red {
  background-color: #e76a8c;
  color: #fff;
}

.blue {
  background-color: #478be8;
  color: #fff;
}

.inp {
  margin: 0 50px;
  height: 70px;
  line-height: 70px;
  font-size: 34px;
}

/* 适配小屏幕 */
@media (max-width: 500px) {
  .key {
    width: 28%;
    max-width: 80px;
  }

  .bigKey {
    width: 42%;
  }

  .inp {
    font-size: 34px;
    margin: 0 10px;
    width: 100%;
  }
}

